<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .primary {
        color: red;
      }
    </style>
  </head>
  <body>
    <div id="app">
      <h2>{{1+1-x-y}}</h2>
      <h2>比较{{1>2}}，逻辑{{true&&(x>y)}}，三元{{x>y?'yes':'no'}}</h2>
      <h3>
        数字{{100}}，字符串{{'hello'}}，布尔{{true}}，对象{{({a:1})}}，数组{{[1,2,3,4]}}
      </h3>
    </div>
    <script type="module">
      import { createApp } from "./vue.esm-browser.js";
      const app = createApp({
        data() {
          return {
            x: 100,
            y: 200,
          };
        },
      });
      app.mount("#app"); //挂载
    </script>
  </body>
</html>
